<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>添加文章页面</title>
  <script src="https://cdn.bootcdn.net/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
  <script>
        function submitForm(){
                var stuName = $("#stuName").val();
                var stuAge = $("#stuAge").val();
                var jsonStr = {
                	stuName:stuName,
                	stuAge:stuAge,
                }
                $.post("/api/expertcontroller/save",jsonStr,function(result){
                    alert(result);
                })
        }
    </script>
</head>
<body>
<div>
  <ul>
    <li>车牌号stuName:<input type="text" id="stuName" value=""></li>
    <li>颜色号stuAge:<input type="text" id="stuAge" value=""></li>
    <li><button onclick="submitForm()">提交</button></li>
  </ul>
</div>
<script>

</script>
</body>
</html>